
const ADD_ITEMNUM = 'ADD_ITEMNUM'
const NAVINDEXX = 'NAVINDEXX'
export default {
    [ADD_ITEMNUM](state){
        state.num++
    },
    [NAVINDEXX](state,index){
        state.navIndex = index
    }
}